//
//  MainNewsDetailsViewModel.h
//  MoXiProject
//
//  Created by 沈晨宇 on 2017/7/4.
//  Copyright © 2017年 周筱雯. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MainCommentsListModel.h"
@interface MainNewsDetailsViewModel : NSObject

@property (nonatomic,strong) NSMutableArray * commentsArrayList;

/*
 首页新闻详情
 */
-(RACSignal *)MainNewsDetailsRequestpParameter:(NSString* )newsId UserId:(NSString* )userId;
/*
 主页新闻评论列表
 */
-(RACSignal *)MainNewsFindAllDiscussRequestpParameter:(NSString* )newsId;

/*
  主页新闻添加评论
 */
-(RACSignal *)MainNewsAddDiscussRequestpParameter:(NSString* )newsId Content:(NSString* )content UserId:(NSString* )userId;

/*
主页新闻点赞
 */
-(RACSignal *)MainNewsGivethumbsRequestpParameter:(NSString* )newsId UserId:(NSString* )userId;

/*
 新闻收藏
 */
-(RACSignal *)SaveNewsCollectionRequestpParameter:(NSString* )userId NewsId:(NSString* )newsId;

/*
 取消新闻收藏
 */
-(RACSignal *)DelNewsCollectionRequestpParameter:(NSString* )userId NewsId:(NSString* )newsId;

@end
